<!--
 * @Author: your name
 * @Date: 2020-11-03 14:37:11
 * @LastEditTime: 2020-11-03 14:44:55
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \youyue_doctor_app\App.vue
-->

<script>
export default {
  onLaunch: function () {
    console.log("App Launch");
    //app启动时打开启动广告页
    // #ifdef APP-PLUS
   //  var w = plus.webview.open(
   //    "hybrid/html/advertise/advertise.html",
   //    "本地地址",
   //    { top: 0, bottom: 0, zindex: 999 },
   //    "fade-in",
   //    500
   //  );
   //  //设置定时器，4s后关闭启动广告页
   //  setTimeout(function () {
   //    plus.webview.close(w);
	  // uni.reLaunch({
	  // 	url:"/pages/startThePage/startThePage"
	  // })
   //  }, 2000);
    // #endif
  },
  onShow: function () {
    console.log("App onShow");
  },
  onHide: function () {
    console.log("App Hide");
  },
  globalData: {
    statusBarHeight: uni.getSystemInfoSync().statusBarHeight,
    windowHeight: uni.getSystemInfoSync().windowHeight,
    windowWidth: uni.getSystemInfoSync().windowWidth,
    // scokes:'ws://192.168.1.17:8879/',
    // scokes:'ws://49.234.71.11:8879/',
    scokes: "wss://test.taishenghealth.com/jeecg-wss/",
    imgAddress: "https://test.taishenghealth.com/youyue-server/sys/common/view",
  },
  methods: {
  },
};
</script>

<style>
/* @import url('./index.css'); */
@import url("static/css/base.css");
/* 解决头条小程序组件内引入字体不生效的问题 */
/* #ifdef MP-TOUTIAO */
@font-face {
  font-family: uniicons;
  src: url("/static/uni.ttf");
}
/* #endif */


/* 复选框样式 */

uni-checkbox .uni-checkbox-input {
  border-radius: 50%;
  border-color: #ffffff;
}
uni-checkbox:not([disabled]) .uni-checkbox-input:hover {
  border-color: #ffffff;
}
.uni-checkbox-input-checked {
  background: linear-gradient(to top, #2ad3ba, #87f4d0);
}
/* 单选框样式 */

.uni-radio-input-checked {
  background: linear-gradient(to top, #2ad3ba, #87f4d0);
}
/*状态栏高度的css变量  */
.status_bar {
      height: var(--status-bar-height);
      width: 100%;
  }
</style>
